/**
 * jims
 */
package com.jims.master.modules.physical.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * t_informationEntity
 * @author 系统管理员
 * @version 2017-06-14
 */
public class TInformation extends DataEntity<TInformation> {
	
	private static final long serialVersionUID = 1L;
	private String clinicId;		// 门诊ID
	private Date healthexamDate;		// 体检日期
	private String type;		// 体检类型
	private String team;		// 团检单位
	private String teamGroup;		// 单位分组
	private String payType;		// 收费方式
	private String isOk;		// 是否审核0未审核1已审核
	private String examDhiefDoctor;		// 审核医生
	private String bingzhong;		// 病种
	private String jianyi;		// 建议
	private String jiankangjianyi;		// 健康建议
	private String wenxintishi;		// 危险提示
	private String orgId;		// 机构ID
	private String itemComoboName; // 套餐名称
	private Double comoboPrice; //套餐金额
	private Double unifiedPrice; //统一金额

	//扩展
	private String patientId;
	
	public TInformation() {
		super();
	}

	public TInformation(String id){
		super(id);
	}

	@Length(min=1, max=64, message="门诊ID长度必须介于 1 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getHealthexamDate() {
		return healthexamDate;
	}

	public void setHealthexamDate(Date healthexamDate) {
		this.healthexamDate = healthexamDate;
	}
	
	@Length(min=0, max=1, message="体检类型长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=64, message="团检单位长度必须介于 0 和 64 之间")
	public String getTeam() {
		return team;
	}

	public void setTeam(String team) {
		this.team = team;
	}
	
	@Length(min=0, max=64, message="单位分组长度必须介于 0 和 64 之间")
	public String getTeamGroup() {
		return teamGroup;
	}

	public void setTeamGroup(String teamGroup) {
		this.teamGroup = teamGroup;
	}
	
	@Length(min=0, max=1, message="收费方式长度必须介于 0 和 1 之间")
	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}
	
	@Length(min=0, max=1, message="是否审核0未审核1已审核长度必须介于 0 和 1 之间")
	public String getIsOk() {
		return isOk;
	}

	public void setIsOk(String isOk) {
		this.isOk = isOk;
	}
	
	@Length(min=0, max=64, message="审核医生长度必须介于 0 和 64 之间")
	public String getExamDhiefDoctor() {
		return examDhiefDoctor;
	}

	public void setExamDhiefDoctor(String examDhiefDoctor) {
		this.examDhiefDoctor = examDhiefDoctor;
	}
	
	public String getBingzhong() {
		return bingzhong;
	}

	public void setBingzhong(String bingzhong) {
		this.bingzhong = bingzhong;
	}
	
	public String getJianyi() {
		return jianyi;
	}

	public void setJianyi(String jianyi) {
		this.jianyi = jianyi;
	}
	
	public String getJiankangjianyi() {
		return jiankangjianyi;
	}

	public void setJiankangjianyi(String jiankangjianyi) {
		this.jiankangjianyi = jiankangjianyi;
	}
	
	public String getWenxintishi() {
		return wenxintishi;
	}

	public void setWenxintishi(String wenxintishi) {
		this.wenxintishi = wenxintishi;
	}
	
	@Length(min=1, max=64, message="机构ID长度必须介于 1 和 64 之间")
	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getItemComoboName() {
		return itemComoboName;
	}

	public void setItemComoboName(String itemComoboName) {
		this.itemComoboName = itemComoboName;
	}

	public Double getComoboPrice() {
		return comoboPrice;
	}

	public void setComoboPrice(Double comoboPrice) {
		this.comoboPrice = comoboPrice;
	}

	public Double getUnifiedPrice() {
		return unifiedPrice;
	}

	public void setUnifiedPrice(Double unifiedPrice) {
		this.unifiedPrice = unifiedPrice;
	}

	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
}